package com.basin.common.mp.base;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author: Sam ZHONG | sammy1997@aliyun.com
 */
@Getter
@AllArgsConstructor
public enum SexEnum {
    MALE(0, "女"),
    FEMALE(1, "男"),
    OTHER(2, "其他");

    @EnumValue
    private final Integer value;
    @JsonValue
    private final String label;
}
